package com.forum.service.talk;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.ApiResult;
import com.forum.param.TalkPostsCommentReplyQueryParam;
import com.forum.pojo.talk.TalkPostsCommentReply;

import java.util.Map;


/**
 * @author Tsing
 */
public interface TalkPostsCommentReplyService extends IService<TalkPostsCommentReply> {

    /**
     * 指定帖子的评论回复功能
     * @return ApiResult
     * @param reply
     * **/
    ApiResult<String> reply4Comment(TalkPostsCommentReply reply);

    /**
     * 分页获取指定评论的回复
     * @return ApiResult
     * @param queryParam
     * **/
    ApiResult<Map<String,Object>> getReplyList(TalkPostsCommentReplyQueryParam queryParam);
}
